package dataImport.model;

import dataImport.model.abstracts.AbstractEntity;


public class Configuration extends AbstractEntity {

	private static final long serialVersionUID = 388711636419071700L;

	private StaticConfiguration staticConfiguration;

	private AbstractEntity abstractEntity;

	public Configuration(final StaticConfiguration staticConfiguration, final AbstractEntity abstractEntity) {
		super(createId(staticConfiguration.getName(), abstractEntity.getId()));
		this.staticConfiguration = staticConfiguration;
		this.abstractEntity = abstractEntity;
	}

	public StaticConfiguration getStaticConfiguration() {
		return this.staticConfiguration;
	}

	public void setStaticConfiguration(StaticConfiguration staticConfiguration) {
		this.staticConfiguration = staticConfiguration;
	}

	public AbstractEntity getAbstractEntity() {
		return this.abstractEntity;
	}

	public void setAbstractEntity(AbstractEntity abstractEntity) {
		this.abstractEntity = abstractEntity;
	}

}
